﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.VehicleIgnoreOrderAssignRecord
{
	/// <summary>
	/// 车辆忽略订单指派记录
	/// </summary>
	public class VehicleIgnoreOrderAssignRecordRequestDto
	{
		/// <summary>
		/// 订单Id
		/// </summary>		
		[Display(Name = "订单Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long OrderId { get; set; }
		/// <summary>
		/// 订单编号
		/// </summary>		
		[Display(Name = "订单编号")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(50, MinimumLength = 6, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string OrderNo { get; set; }
		/// <summary>
		/// 车牌号
		/// </summary>		
		[Display(Name = "车牌号")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(20, MinimumLength = 6, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string VehicleNo { get; set; }
		/// <summary>
		/// 司机Id
		/// </summary>		
		[Display(Name = "司机Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long DriverId { get; set; }
	}
}
